package com.xiaomi.service.impl;

import com.xiaomi.entity.Pay;
import com.xiaomi.mapper.PayMapper;
import com.xiaomi.service.PayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @ClassName PayServiceImpl
 * @Description TODO
 * @Author lll
 * @Date 2021/12/2 9:45
 * @Version 1.0
 **/
@Service
public class PayServiceImpl implements PayService{

    @Autowired
    private PayMapper payMapper;

    @Override
    public List<Pay> pageSearch(Map<String,Object> pars) {
        return payMapper.pageSearch(pars);
    }

    @Override
    public Integer getCount(Map<String,Object> pars) {
        return payMapper.getCount(pars);
    }

    @Override

    public Integer sjupdate(Pay pay) {
        payMapper.sjupdate(pay);
        return null;
    }
}
